try { var dummy = AutoRejectAuth; } catch ( e ) {


function AutoRejectAuth(){
}

// Required for AS 1 inheritance.
AutoRejectAuth.prototype = new RTCFComponent();


AutoRejectAuth.prototype.init = function(){
	this.rtcf.addListener("onConnect", this);
	this.rtcf.addListener("onAuthenticate", this);
}


AutoRejectAuth.prototype.onConnect = function(client){
	trace("AutoRejectAuth.onConnect> client: " + client + ", number of arguments: " + arguments.length);

	this.rtcf.authenticationFault(client, "Too bad, so sad!"); 
}

AutoRejectAuth.prototype.onAuthenticate = function(client){
	trace("AutoRejectAuth.onAuthenticate> client: " + client + ", number of arguments: " + arguments.length);

	this.rtcf.authorizationFault(client, "Too bad, so sad!"); 
	
}


} // end catch
